package com.jishucai.tomcat;

import java.util.HashMap;
import java.util.Map;

/**
 * @author qiaowang 2021/4/16
 */
public class TomcatServerStart {

    public static void main(String[] args) throws Exception {

        Map<String, Object> registMap = new HashMap<>(8);
        new Registry().registServlet("com.jishucai.webapp", registMap);
        TomcatServer tomcatServer = new TomcatServer(registMap);
        tomcatServer.start();
    }
}
